import { axios } from "../utils/request.ts";

const api = {
    login: '/login'
}

export function login(params) {
    return axios({
        url: api.login,
        method: 'post',
        data: params
    })
}
